package com.jh3502.helper.utils;

import android.Manifest;

public class Constant {
    public static final String WRITE_CHARACTERISTI_UUID_KEY = "write_uuid_key";
    public static final String NOTIFY_CHARACTERISTIC_UUID_KEY = "notify_uuid_key";
    public static final String WRITE_DATA_KEY = "write_data_key";
    public static final int PERSON_NEW_ACTIVITY = 0;
    public static final int PERSON_DETAIL_ACTIVITY = 1;
    public static final int LOCAL = 2;
    public static final int DOUBLE_CLICK = 2000;
    public static final String BATCH_FINAL = "1";
    public static final String BATCH_UN_FINAL = "0";
    public static final String CHOSEN_UPDERSS = "chosen_updress";
    public static final String CHOSEN_DOWNDERSS = "chosen_downdress";


    public static final int PERSON_SP = 998;
    public static final int GET_FILE = 997;
    // E尺服务uuid
    public static final String UUID_GROUP_E = "0000fff0-0000-1000-8000-00805f9b34fb";
    public static final String UUID_CHILD_E = "0000fff4-0000-1000-8000-00805f9b34fb";
    // G尺服务uuid
    public static final String UUID_GROUP_G = "0000feb0-0000-1000-8000-00805f9b34fb";
    public static final String UUID_CHILD_G = "0000feb2-0000-1000-8000-00805f9b34fb";

    public static final int CONNECT_BLUE_TOOTH = 999;

    public static final String LIST_NAME = "NAME";
    public static final String LIST_UUID = "UUID";
    public static final String APP_TOKEN = "APP_TOKEN";
    public static final int UNKNOW_ERROR_CODE = -1;
    public static final String UNKNOW_ERROR_MESSAGE = "unknow error";
    public static final int SESSION_TIMEOUT = 99;

    public static final int REQUEST_CODE_IMAGE = 123;
    public static final int REQUEST_CODE_CAMARE = 223;
    public static final int REQUEST_CODE_VIDEO = 323;
    public static final int REQUEST_CODE_VIDEO_CAMERA = 423;
    public static final int REQUEST_PERMISSION_CODE = 666;

    public static final String TIMEOUT_EXCEPTION = "java.net.SocketTimeoutException";
    public static final String ACTIVITY_NAME = "activity_name";
    public static final String JAVASCRIPT_ANDROID_TAG = "android";

    public static final int STATUS_NONE = 6002;
    public static final int STATUS_READY = 6003;
    public static final int STATUS_SPEAKING = 6004;
    public static final int STATUS_RECOGNITION = 6005;
    public static final int STATUS_FINISHED = 6006;
    public static final int STATUS_SUCCESS = 6007;
    public static final int STATUS_ERROR = 6007;
    public static final int STATUS_STOPPED = 6010;
    public static final int STATUS_WAITING_READY = 8001;
    public static final int WHAT_MESSAGE_STATUS = 9001;
    public static final int STATUS_WAKEUP_SUCCESS = 7001;
    public static final int STATUS_WAKEUP_EXIT = 7003;

    //服装品类
    public static final int SUIT_RULE_SINGAL = 1;
    public static final int SUIT_RULE_DOUBLE = 2;
    public static final int SUIT_RULE_NORMAL = 3;
    public static final int SUIT_RULE_ABC = 4;
    public static final int SUIT_RULE_ELEC_NORMAL = 5;
    public static final int SUIT_RULE_ELEC_COLD = 6;
    public static final int SUIT_RULE_ELEC_SHIRT = 7;


    public static final String[] PERMISSIONS = {
            Manifest.permission.CAMERA,
            Manifest.permission.RECORD_AUDIO,
            Manifest.permission.ACCESS_FINE_LOCATION,
            Manifest.permission.ACCESS_COARSE_LOCATION,
            Manifest.permission.READ_EXTERNAL_STORAGE,
            Manifest.permission.WRITE_EXTERNAL_STORAGE,
            Manifest.permission.READ_PHONE_STATE,
            Manifest.permission.CHANGE_WIFI_STATE,
            Manifest.permission.INTERNET,
            Manifest.permission.ACCESS_NETWORK_STATE,
            Manifest.permission.MODIFY_AUDIO_SETTINGS,
            Manifest.permission.WRITE_SETTINGS,
            Manifest.permission.ACCESS_WIFI_STATE,
            Manifest.permission.BLUETOOTH,
            Manifest.permission.BLUETOOTH_ADMIN,
            Manifest.permission.ACCESS_COARSE_LOCATION
    };

    public static final int TYPE_IMAGE = 1;
    public static final int TYPE_VIDEO = 2;
    public static final int TYPE_VOICE = 3;
}
